@charset "UTF-8";
/* 城市选择主容器 */
.Mcake-CitySelect {
  display: inline-block;
  font-size: 16px;
  color: #333;
  line-height: 1.5em;
  position: relative;
}
.Mcake-CitySelect * {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

/* 选择内容 */
.city-select-wrap {
  position: absolute;
  top: 100%;
  left: 0;
  width: 500px;
  margin-top: 3px;
  background-color: #FFF;
  z-index: 1;
  -webkit-box-shadow: 0 2px 7px #BBB;
  -moz-box-shadow: 0 2px 7px #BBB;
  box-shadow: 0 2px 7px #BBB;
}
@media (min-width: 1200px) {
  .city-select-wrap {
    width: 600px;
  }
}
@media (max-width: 768px) {
  .city-select-wrap {
    width: 400px;
  }
}
@media (max-width: 500px) {
  .city-select-wrap {
    width: 300px;
  }
}
.city-select-wrap.open {
  display: block;
}
.city-select-wrap.close {
  display: none;
}

.city-select-tab span,
.city-select-cont span {
  cursor: pointer;
}

/* 切换TAB */
.city-select-tab {
  height: 40px;
  background-color: #eee;
}
.city-select-tab span {
  float: left;
  display: block;
  padding: 0 20px;
  line-height: 40px;
  display: none;
}
.city-select-tab span:hover, .city-select-tab span.tab-active {
  color: #4cb0f9;
}
.city-select-tab span.tab-active {
  background-color: #fff;
}
.city-select-tab span.tab-show {
  display: block;
}
.city-select-tab span.tab-hide {
  display: none;
}

/* 选择项目主容器 */
.city-select-cont {
  border-bottom: 1px solid #eee;
}
.city-select-cont .city-select-item {
  padding: 10px 10px;
  display: none;
}
.city-select-cont .city-select-item.item-active {
  display: block;
}

.city-select-item span {
  display: inline-block;
  margin: 5px 3px;
  padding: 5px 10px;
}
.city-select-item span:hover {
  background-color: #eee;
}
.city-select-item span.selected {
  color: #fff;
  background-color: #4cb0f9;
}
.city-select-item .details-input {
  width: 90%;
  margin: 10px 0;
}

/* 城市选择底部 */
.city-select-foot {
  padding: 10px 20px;
  text-align: right;
}
.city-select-foot .button {
  margin-left: 5px;
  padding: 0 15px;
}
